<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>

<div class="modal-dialog x-modal-dialog" style="width: 650px; margin-top: 100px;">

  <div class="modal-content">

    <div class="modal-header x-breadcrumb no-bottom-border clearfix">

      <h2><i class="glyphicon glyphicon-fire" title="过滤查询"></i>&nbsp;&nbsp;<span>500元抵扣券&nbsp;-&nbsp;过滤查询</span></h2>

      <button type="button" class="close" data-dismiss="modal">&times;</button>

    </div>
    
    <form class="form-horizontal" method="GET" action="${ctx.host}/outside-coupons">

      <input  type="hidden" name="filter" value="true" >

      <div class="modal-body">

        <div class="form-group x-form-group">
          
          <label class="col-xs-4 control-label">用户姓名</label>
          <div class="col-xs-6 pull-left">
            <input type="text" class="form-control" name="contactPerson" value="${param.contactPerson}" placeholder="支持模糊查询"/>
          </div>
          
        </div>
        
        <div class="form-group x-form-group">
        
          <label class="col-xs-4 control-label">手机/邮箱</label>
          <div class="col-xs-6 pull-left">
            <input type="text" class="form-control" name="identification" value="${param.identification}" placeholder="支持模糊查询"/>
          </div>
          
        </div>
        
        <div class="form-group x-form-group">
          <label class="col-xs-4 control-label">创建时间</label>
          <div class="col-xs-6" style="width: 60%;">
            <div class="input-group">
              <input type="text" class="form-control date" name="beginDate" value="${param.beginDate}" placeholder="开始时间"/>
              <span class="input-group-addon"></span>
              <input type="text" class="form-control date" name="endDate" value="${param.endDate}" placeholder="结束时间"/>
            </div>
          </div>
        </div>
        
      </div>

      <div class="modal-footer">
        <button type="submit" class="btn btn-success btn-shadow btn-shadow-success x-btn">查询</button>&nbsp;&nbsp;&nbsp;&nbsp;
        <button type="button" class="btn btn-default btn-shadow btn-shadow-default x-btn" data-dismiss="modal">取消</button>
      </div>

    </form>

  </div>
  

</div>


<script type="text/javascript">
  
  $(function() {
    $('.date').datetimepicker({
      format: 'yyyy-mm-dd',
      autoclose: true,
      language: 'zh-CN',
      todayBtn: 'linked',
      todayHighlight: true,
      pickerPosition: 'bottom-right',
      minView: 'month'
    })
  })
  
</script>